﻿using Rodunu.Movies.Services.Models.Netflix;
using Rodunu.Movies.Services.Models.Netflix.Attributes;
using Rodunu.Movies.Services.Models.Netflix.Enums;

namespace Rodunu.Movies.Services.Models.Netflix
{
    public class TitleState
    {
        [XPath("/title_state/category[@scheme='http://api.netflix.com/catalog/titles/title_states']/@label")]
        public TitleStatesAction TitleStatesAction { get; set; }

        [XPath("/title_state/link[@rel='http://schemas.netflix.com/queues/instant']")]
        public Link TitleLink { get; set; }

        [XPath("/title_state/category[@scheme='http://api.netflix.com/catalog/titles/format']/@label")]
        public Format Format { get; set; }
    }
}
